﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using InsuransCompany.Events;
using InsuransCompany.Categories;
using InsuransCompany.Client;

namespace InsuransCompany
{
    public partial class Main : Form
    {
        public Main()
        {
            InitializeComponent();
        }

        private void PolicesCatsClick(object sender, EventArgs e)
        {
            PolicyCategories p = new PolicyCategories();
            this.Hide();
            p.ShowDialog();
            this.Show();
        }

        private void PolicyRegClick(object sender, EventArgs e)
        {
            FindClient p = new FindClient();
            this.Hide();
            p.ShowDialog();
            this.Show();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Clients p = new Clients();
            this.Hide();
            p.ShowDialog();
            this.Show();
        }


    }
}
